package java19;

public class TestStudent3 {
	public static void main(String[] args) {
		Student student1 = new Student();
		student1.age = 24;
		student1.id = 10;
		student1.name = "zhang";
		student1.score = 90;

		Student student2 = new Student();
		student2.age = 23;
		student2.id = 9;
		student2.name = "lishi";
		student2.score = 98;

		Student3 student3 = new Student3();
		student3.addStudent(student1);
		student3.addStudent(student2);
		student3.showStudents();
	}

}
